package com.marvels.dubbo.coreservice.service.impl;

import org.springframework.stereotype.Service;

import com.dragon.decision.entity.DecisionBean;
import com.dragon.loan.entity.StrategyResponse;
import com.marvels.common.utils.MarvelsLogUtil;
import com.marvels.dubbo.coreservice.service.DecisionExecuteDubboService;
@Service
public class DecisionExecuteDubboServiceImpl implements DecisionExecuteDubboService {
	@Override
	public StrategyResponse getDecisionResult(String loanId, String productType) {
		MarvelsLogUtil.getInstance().info("调用入参getDecisionResult======================loanId:" + loanId + ";productType="+productType);
		DecisionBean dBean = new DecisionBean(loanId, productType, "calculate_loan_limit");
		// StrategyResponse response = (StrategyResponse) decisionExecuteService.getDecisionResult(dBean);
		StrategyResponse response = null;
		MarvelsLogUtil.getInstance().info(loanId + "==========调用返回参数getDecisionResult============" + response);
		return response;
	}
	
	
	
}
